<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateFourItemTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('four_item', function (Blueprint $table) {
            $table->increments('id');
            $table->string('item_name')->default('')->comment('检查项目名');
            $table->string('item_price')->default('')->comment('项目价钱');
            $table->string('medical_check_id')->default('')->comment('所属套餐');
            $table->string('item_intro')->default('')->comment('项目介绍');
            $table->string('note')->default('')->comment('注意事项');
            $table->string('item_status')->default('')->comment('项目状态');
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('four_item');
    }
}
